package com.tianjin.design.command;

public class ConcreteCommand extends Command{

    public ConcreteCommand(Receiver receiver) {
        super(receiver);
    }

    /**
     *  @Description: 将一个接收者对象绑定于一个动作，调用接收者相应的操作，以实现execute
     */
    @Override
    public void execute() {
        receiver.action();
    }
}
